package com.company.oa.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.mybatis.spring.annotation.MapperScan;

/**
 * OA系统启动类
 */
@SpringBootApplication(scanBasePackages = {"com.company.oa"})
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.company.oa.**.mapper")
public class OaSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(OaSystemApplication.class, args);
    }
}